<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Free CSS template by ChocoTemplates.com</title>
	<?php 
		echo $this->Html->css('admin/style');
		echo $this->Html->css('editor/jHtmlArea');
		echo $this->Html->css('editor/jHtmlArea.ColorPickerMenu');
		echo $this->Html->script('autocomplete/jquery.js');
		echo $this->Html->css('autocomplete/jquery.autocomplete');
		echo $this->Html->css('autocomplete/thickbox');
		//echo $this->Html->css('demo-auto/jquery.ui.all');
		//echo $this->Html->script('jquery.min.js');
		/*echo $this->Html->script('demo-auto/jquery.ui.core.js');
		echo $this->Html->script('demo-auto/jquery.ui.widget.js');
		echo $this->Html->script('demo-auto/jquery.ui.position.js');
		echo $this->Html->script('demo-auto/jquery.ui.autocomplete.js');*/
		/* echo $this->Html->script('autocomplete/jquery.js'); */
		echo $this->Html->script('autocomplete/jquery.bgiframe.min.js');
		echo $this->Html->script('autocomplete/jquery.ajaxQueue.js');
		echo $this->Html->script('autocomplete/thickbox-compressed.js');
		echo $this->Html->script('autocomplete/jquery.autocomplete.js');
		echo $this->Html->script('validator/jquery.validate.js');
		echo $this->Html->script('editor/jHtmlArea-0.7.0.min.js');
		echo $this->Html->script('editor/jHtmlArea.ColorPickerMenu-0.7.0.js');
	?>	
</head>
<body>
<!-- Header -->
<div id="header">
	<div class="shell">
		<!-- Logo + Top Nav -->
		<div id="top">
			<h1><a href="#">Bất động sản</a></h1>
			<div id="top-navigation">
				Xin chào <a href="#"><strong><?php echo $session->read('Auth.User.username');?></strong></a>				
				<span>|</span>
				<a href="<?php echo $this->webroot;?>users/admin_logout">Thoát</a>
			</div>
		</div>
		<!-- End Logo + Top Nav -->
		
		<!-- Main Nav -->
		<div id="navigation">
			<ul>
			    <li><a href="<?php echo $this->webroot;?>duans/admin_index"><span>Các dự án</span></a></li>
			    <li><a href="<?php echo $this->webroot;?>tinraos/admin_index"><span>Tin rao</span></a></li>
			    <li><a href="<?php echo $this->webroot;?>users/admin_index"><span>Quản trị</span></a></li>
			</ul>
		</div>
		<!-- End Main Nav -->
	</div>
</div>
<!-- End Header -->
<!-- Container -->
<div id="container">
	<div class="shell">
		
		<!-- Small Nav
		<div class="small-nav">
			<a href="#">Dashboard</a>
			<span>&gt;</span>
			Current Articles
		</div>
		 End Small Nav -->
		
		<!-- Message OK -->		
		<?php echo $this->Session->flash();?>
		<!-- End Message OK -->		
		<br />
		<!-- Main -->
		<div id="main">
			<div class="cl">&nbsp;</div>
			
			<!-- Content -->
			<?php echo $content_for_layout;?>
			<!-- End Content -->
			
			<!-- Sidebar -->
			
			<!-- End Sidebar -->
			
			<div class="cl">&nbsp;</div>			
		</div>
		<!-- Main -->
	</div>
</div>
<!-- End Container -->
<!-- Footer -->
<div id="footer">
	<div class="shell">
		<span class="left">&copy; 2011 - Bất động sản</span>		
	</div>
</div>
<!-- End Footer -->
	</body>
</html>